package com.sduept.nwld.dataserver.model.countanalyse;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sduept.core.entity.IdentifiedObject;

@Entity
@Table(name="t_count_protect_defect")
public class CountProtectDefect extends IdentifiedObject{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4078753234202674943L;


	private String province;
	
	@Column(name ="defect_level")
	private String defectLevel;
	
	@Column(name ="defect_device")
	private String defectDevice;
	
	@Column(name ="defect_position")
	private String defectPosition;
	
	@Column(name ="defect_cause")
	private String defectCause;
	
	@Column(name ="defect_type")
	private String defectType;
	
	
	
	@Column(name ="occur_date")
	private Date occurDate;
	
	@Column(name ="specified_solve_date")
	private Date specifiedSolveDate;
	
	@Column(name ="solve_date")
	private Date solveDate;

	@Column(name ="is_solved")
	private Boolean solved;
	
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getDefectLevel() {
		return defectLevel;
	}

	public void setDefectLevel(String defectLevel) {
		this.defectLevel = defectLevel;
	}

	public String getDefectPosition() {
		return defectPosition;
	}

	public void setDefectPosition(String defectPosition) {
		this.defectPosition = defectPosition;
	}

	public String getDefectCause() {
		return defectCause;
	}

	public void setDefectCause(String defectCause) {
		this.defectCause = defectCause;
	}


	public Date getOccurDate() {
		return occurDate;
	}

	public void setOccurDate(Date occurDate) {
		this.occurDate = occurDate;
	}

	public Date getSolveDate() {
		return solveDate;
	}

	public void setSolveDate(Date solveDate) {
		this.solveDate = solveDate;
	}

	public String getDefectDevice() {
		return defectDevice;
	}

	public void setDefectDevice(String defectDevice) {
		this.defectDevice = defectDevice;
	}

	public String getDefectType() {
		return defectType;
	}

	public void setDefectType(String defectType) {
		this.defectType = defectType;
	}

	public Date getSpecifiedSolveDate() {
		return specifiedSolveDate;
	}

	public void setSpecifiedSolveDate(Date specifiedSolveDate) {
		this.specifiedSolveDate = specifiedSolveDate;
	}

	public Boolean getSolved() {
		return solved;
	}

	public void setSolved(Boolean solved) {
		this.solved = solved;
	}


	
}
